package com.yejhxt.inter;

import java.util.List;
import java.util.Map;

import com.yejhxt.model.sos;

public interface sosMapper {
    int deleteByPrimaryKey(Long sosiid);
    long selectByCondition(Map map);
   sos  selectByPrimaryKeyWithAll(Map map);
    int insert(sos record);
    List<sos>   selectAll();
    List<sos>   selectSOSofRole(Map map);
    int insertSelective(sos record);
    List<sos>   selectlast(Map map);
    sos selectByPrimaryKey(Long sosiid);
    void deleteByDeviceId(Long deviceid);
    int updateByPrimaryKeySelective(sos record);

    int updateByPrimaryKey(sos record);
}